#define _CRT_SECURE_NO_WARNINGS
#include"team.h"

void testque()
{
	queue* qu = NULL;
	tream* tre = initial(&qu);
	pushque(&qu, tre, 1);
	pushque(&qu, tre, 2);
	pushque(&qu, tre, 3);
	pushque(&qu, tre, 4);
	pushque(&qu, tre, 5);
	pushque(&qu, tre, 5);
	pushque(&qu, tre, 6);
	popque(&qu, tre);
	printf("%d\n", gettail(qu, tre));
	popque(&qu, tre);
	printf("%d\n", gettail(qu, tre));
	printf("%d\n", getfront(qu, tre));


}

int main()
{
	testque();
	return 0;
}